# PyOpenSG is (C) Copyright 2005-2009 by Allen Bierbaum
#
# This file is part of PyOpenSG.
#
# PyOpenSG is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License as published by the Free
# Software Foundation; either version 2 of the License, or (at your option)
# any later version.
#
# PyOpenSG is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for
# more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

import os, re, sys
pj = os.path.join
from pyplusplus import module_builder
import pygccxml
import pygccxml.declarations as pd
import pyplusplus.module_builder.call_policies as cp
import pygccxml.declarations.type_traits as tt

mb = module_builder.module_builder_t(["Classes.h",],
                                     working_directory = ".")

mb.global_ns.exclude()
test_ns = mb.global_ns.namespace( 'test_ns', recursive=False )
test_ns.include()

#Now it is the time to give a name to our module
mb.build_code_creator(module_name='_test')

# So we don't have absolute paths in code
mb.write_module( 'bindings.cpp')


